#include <rtcc.h>

/******************************************************************************/
/* System Level #define Macros                                                */
/******************************************************************************/

/* TODO Define system operating frequency */

/* Microcontroller MIPs (FCY) */
#define SYS_FREQ        7000000L
#define FCY             SYS_FREQ/2


/******************************************************************************/
/* System Function Prototypes                                                 */
/******************************************************************************/

/* Custom oscillator configuration funtions, reset source evaluation
functions, and other non-peripheral microcontroller initialization functions
go here. */

void ConfigureOscillator(void); /* Handles clock switching/osc initialization */
void InitHardware(void);         /* I/O and Peripheral Initialization */
void GoSleep(void);
void WakeUp(void);
void RTC_Init(void);
unsigned char Read_Temperature_degC(void);
short Read_VBatt_mV(void);

